package org.feng;

import org.feng.config.MysqlDatasourceProperties;
import org.feng.config.MysqlDatasourcePropertiesV2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


/**
 * 本案例使用 Webflux Api 操作 Mysql 数据库
 *
 * @author Administrator
 */
@EnableSwagger2
@EnableTransactionManagement
@EnableConfigurationProperties(value = {MysqlDatasourceProperties.class, MysqlDatasourcePropertiesV2.class})
@SpringBootApplication
public class WebfluxHelloMysqlDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebfluxHelloMysqlDemoApplication.class, args);
    }

}
